from django.urls import path
from . import views
from django.contrib.auth.views import LoginView,LogoutView
urlpatterns = [
    path('', views.indexView, name="home"),
    path('dashboard/', views.dashboardView, name="dashboard"),
    path('login/', LoginView.as_view(), name="login_url"),
    path('register/', views.registerView, name="register_url"),
    path('logout/', LogoutView.as_view(next_page='home'), name="logout"),
    path('edit_profile/', views.edit_profile, name="edit_profile"),
    path('view_profile/', views.view_profile, name="view_profile"),
    path('add_pet/', views.add_pet, name="add_pet"),
    path('view_pet/<int:id>', views.view_pet, name="view_pet"),
    path('edit_pet/<int:id>', views.edit_pet, name="edit_pet"),
]
